

import http from '../utils/http.js'

// 列表
export function list(params) {
	return http.get('/jeecg-boot/app/jobfair/list', {
		params
	})
}

// 根据id查询
export function queryById(params) {
	return http.get('/jeecg-boot/app/jobfair/queryById', {params})
}

// 列表
export function queryZbJobfairCompanyByMainId(params) {
	return http.get('/jeecg-boot/app/jobfairCompany/queryZbJobfairCompanyByMainId', {
		params
	})
}

export function addFairCompany(data) {
	return http.post('/jeecg-boot/app/jobfairCompany/add', data)
}

export function queryZbJobfairApplyuserByMainId(params) {
	return http.get('/jeecg-boot/app/jobfairUser/queryZbJobfairApplyuserByMainId', {
		params
	})
}

export function addFairUser(data) {
	return http.post('/jeecg-boot/app/jobfairUser/add', data)
}